package com.lt.bcra.client;


import com.lt.bcra.result.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "bcra-sso")
public interface FeignSms {

    @GetMapping("/api-integrated/sso/sms/send/{phone}")
    ResultData sendCode(@PathVariable String phone);

}
